//
//  ColorBgView.h
//  SDKTest
//
//  Created by edz on 2020/6/30.
//  Copyright © 2020 LI. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger,BgColorType) {
    //圆形背景
    BgColorTypeRound,
    //渐变
    BgColorTypegradual,
    //直线模式
    BgColorTypeLine
    
};
NS_ASSUME_NONNULL_BEGIN

@interface ColorBgView : UIView
//旋转角度
@property (nonatomic, assign) CGFloat angle;

@property (nonatomic, strong) NSArray<UIColor *> *colors;

@property (nonatomic, assign) BgColorType type;
@end

NS_ASSUME_NONNULL_END
